<html>
   <head>
      <link rel="stylesheet" type="text/css" href="style.css" />
   </head>
   <body onload="">
<h2 class="comptitle">Packet <i>FindNodeResponse</i></h2>
<b>File: <a href="src-common-CommonMessages.msg.html">src/common/CommonMessages.msg</a></b><br/><p><a href="../doxy/classFindNodeResponse.html" target="mainframe"><b>C++ definition</b></a></p>

<p>A basic find node rpc call</p>
<h3 class="subtitle">Usage diagram:</h3>
<p>The following diagram shows usage relationships between types.
Unresolved types are missing from the diagram.
Click <a href="full-msg-usage-diagram.html">here</a> to see the full picture.</p>
<img src="FindNodeResponse-usage.png" ismap="yes" usemap="#usage-diagram"/><map name="usage-diagram"><area shape="rect" id="node1" href="FindNodeResponse.html" title="Packet FindNodeResponse" alt="" coords="5,6,141,34">
</map>
<h3 class="subtitle">Inheritance diagram:</h3>
<p>The following diagram shows inheritance relationships for this type.
Unresolved types are missing from the diagram.
Click <a href="full-msg-inheritance-diagram.html">here</a> to see the full picture.</p>
<img src="FindNodeResponse-inheritance.png" ismap="yes" usemap="#inheritance-diagram"/><map name="inheritance-diagram"><area shape="rect" id="node1" href="FindNodeResponse.html" title="Packet FindNodeResponse" alt="" coords="19,83,155,111">
<area shape="rect" id="node2" href="BaseResponseMessage.html" title="Packet BaseResponseMessage" alt="" coords="5,6,168,34">
</map>
<h3 class="subtitle">Extends:</h3>
<table>
<tr>
   <td>
      <a href="BaseResponseMessage.html">BaseResponseMessage</a>
      <i> (packet)</i>
   </td>
   <td>

<p>A basic Remote-Procedure-Response message</p>
   </td>
</tr>
</table>
<h3 class="subtitle">Fields:</h3>
<table class="paramtable">
   <tr>
      <th>Name</th>
      <th>Type</th>
      <th>Description</th>
   </tr>
<tr class="inherited">
   <td width="150">srcNode</td>
   <td width="100">
      <i>
NodeHandle</i>
   </td>
   <td>
<p>source node</p>
</td>
</tr>
<tr class="inherited">
   <td width="150">statType</td>
   <td width="100">
      <i>
int</i>
   </td>
   <td>
<p>message type for stats</p>
</td>
</tr>
<tr class="inherited">
   <td width="150">authBlock</td>
   <td width="100">
      <i>
AuthBlock[]</i>
   </td>
   <td>
<p>optional authentication block containing a signature</p>
</td>
</tr>
<tr class="inherited">
   <td width="150">nonce</td>
   <td width="100">
      <i>
unsigned int</i>
   </td>
   <td>
<p>nonce to match RPC responses to corresponding calls</p>
</td>
</tr>
<tr class="inherited">
   <td width="150">callHopCount</td>
   <td width="100">
      <i>
int</i>
   </td>
   <td></td>
</tr>
<tr class="inherited">
   <td width="150">type</td>
   <td width="100">
      <i>
int</i>
   </td>
   <td>
<p>message type</p>
</td>
</tr>
<tr class="local">
   <td width="150">siblings</td>
   <td width="100">
      <i>
bool</i>
   </td>
   <td>
<p>the closestNodes[] vector contains all sibling for the lookup key</p>
</td>
</tr>
<tr class="local">
   <td width="150">closestNodes</td>
   <td width="100">
      <i>
NodeHandle[]</i>
   </td>
   <td>
<p>vector of known next hops to the lookup key</p>
</td>
</tr>
<tr class="inherited">
   <td width="150">ncsInfo</td>
   <td width="100">
      <i>
double[]</i>
   </td>
   <td>
<p>info block for network coordinate systems</p>
</td>
</tr>
</table>
<h3 class="subtitle">Source code:</h3>
<pre class="src"><span style="color: #808080; font-style: italic; ">//
// A basic find node rpc call
//
</span><span style="color: #800000; font-weight: bold; ">packet</span><span style="color: #000000; "> </span><span style="color: #000000; ">FindNodeResponse</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">extends</span><span style="color: #000000; "> </span><span style="color: #000000; ">BaseResponseMessage</span><span style="color: #000000; ">
{
    </span><span style="color: #808080; font-style: italic; ">// the closestNodes[] vector contains all sibling for the lookup key
</span><span style="color: #000000; ">    </span><span style="color: #000080; font-weight: bold; ">bool</span><span style="color: #000000; "> </span><span style="color: #000000; ">siblings</span><span style="color: #000000; ">;
    </span><span style="color: #000000; ">NodeHandle</span><span style="color: #000000; "> </span><span style="color: #000000; ">closestNodes</span><span style="color: #000000; ">[];  </span><span style="color: #808080; font-style: italic; ">// vector of known next hops to the lookup key
</span><span style="color: #000000; ">}

</span></pre>
   <hr><p class="footer"><a href="http://creativecommons.org/licenses/by-sa/3.0" target="_top"><img src="by-sa.png"></a> This documentation is released under the <a href="http://creativecommons.org/licenses/by-sa/3.0" target="_top">Creative Commons license</a></p>
   </body>
</html>
